package zb.blog.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import zb.blog.bean.PrivateAccountBean;

import java.util.List;
import java.util.Map;

@Mapper
public interface PrivateAccountDao {

    List<PrivateAccountBean> list(@Param("map") Map<String,String> map);

    void add(@Param("bean")PrivateAccountBean privateAccountBean);

    void deleteById(@Param("id")Integer id);

    void updateById(@Param("bean")PrivateAccountBean privateAccountBean);

    PrivateAccountBean getById(@Param("id")Integer id);
}
